<!DOCTYPE html>
<html lang="en" xmlns:th="https://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>数据更新界面</title>
</head>
<body>
<h1>数据更新</h1>

<form th:action="@{/rest/employee}" method="post">
    <input type="hidden" name="_method" value="put"><br>
    <input type="hidden" name="id" th:value="${employee.id}"><br>
lastName:<input type="text" name="lastName" th:value="${employee.lastName}"><br>
email:<input type="text" name="email" th:value="${employee.email}"><br>
gender:<input type="radio" name="gender" value="1" th:field="${employee.gender}">male
    <input type="radio" name="gender" value="0" th:field="${employee.gender}">female<br>
<input type="submit"  value="update"><br>

</form>

</body>
</html>